Skip to content

Student's distribution GoF criteria #65

Merged
alex98247 merged 3 commits intomainfrom
criteria/student
Dec 9, 2025
Merged

Student's distribution GoF criteria #65
alex98247 merged 3 commits intomainfrom
criteria/student

Conversation

@DimaRus05
Copy link
Contributor

Summary

Added goodness-of-fit tests for the Student's t-distribution.

Solve the issue: #51

Quick changelog

  • Implement several GoF statistics for Student's t-distribution:
    • Kolmogorov–Smirnov (KS)
    • Anderson–Darling (AD)
    • Cramér–von Mises (CVM)
    • Kuiper
    • Watson U²
    • Zhang Za / Zc
    • Lilliefors-type (parameters estimated)
    • Chi-square (binned)
  • Add AbstractStudentGofStatistic base class and implementations in pysatl_criterion/statistics/student.py.
  • Export new classes from init.py.
  • Add unit tests: tests/statistics/test_student.py with:
    • Precomputed-value tests where appropriate (compared with scipy)
    • Basic property tests (positivity, finiteness, alternative handling)
    • Integration-style checks (location/scale, large df, edge cases)

…t_power_against_normal check statistics. Change random.seed to default_rng for not change global state, some other small fixes
@alex98247 alex98247 linked an issue Dec 9, 2025 that may be closed by this pull request
@DimaRus05 DimaRus05 requested a review from alex98247 December 9, 2025 14:19
@alex98247 alex98247 merged commit 07537e8 into main Dec 9, 2025
7 checks passed
@alex98247 alex98247 deleted the criteria/student branch December 9, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Student distribution GoF criteria

2 participants